package mest.dao.hws;

import mest.Dto.hws.BomDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BomDtoDao {

    //根据id查询物料档案
    BomDto selectByPrimaryKey(@Param("theirDb") String theirDb,@Param("id") Integer id);


    //查询全部物料档案
    List<BomDto> selectPrimary(@Param("theirDb") String theirDb, @Param("limit") Integer limit, @Param("page") Integer page, @Param("bomname") String bomName);


    //查询数量
    int selectPrimarycount(@Param("theirDb") String theirDb,@Param("bomname")String bomName);
}
